<!DOCTYPE html>
<html>
<head>
  <title>TEST</title>
  <meta charset="utf-8">
  <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>


	<style type="text/css">

	</style>

</head>
<body>
	<button id="btn_add">test</button>
	<div class="background"></div>
</body>


<script>

var darray = [];
var tt = [];
for (var j = 0 ; j < 3; j++){
    darray[j] = {
        avatar:'/static/images/default.jpg',
        name:'XXX',
        remark:"zzz"
    };
	
}
for (var i = 0 ; i < darray.length; i++){
    var d = darray[i];
    tt.push(d);
}

console.log(darray);
console.log(tt);


</script>

</html>
